; Music of Mr. Heli (1989) (Firebird)
; Ripped by Megachur the 19/11/2006

	write "MRHELI.BIN"

music_date_rip	equ &13b6
music_adr	equ &736d
first_theme	equ 0
last_theme	equ 4

	read "music_header_v1_0.asm"

;&736d
;
.init_music	; l736d 0 -> 4
;
	push af
	call l7544
	pop af
	ld c,a
	add a
	add c
	add a
	add c
	ld c,a
	ld b,#00
	ld hl,l7b9d
	add hl,bc
	ld a,(hl)
	ld (l7445),a
	ld (l77bd),a
	inc hl
	ld ix,l73c8
	ld c,#22
	ld a,#03
.l738e
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc hl
	push hl
	ld (ix+#10),#01
	ld (ix+#00),b
	ld (ix+#1d),b
	ld (ix+#1f),b
	ld (ix+#20),b
	ld (ix+#03),e
	ld (ix+#04),d
	ex de,hl
	ld e,(hl)
	inc hl
	ld d,(hl)
	ld (ix+#05),#02
	ld (ix+#06),b
	pop hl
	ld (ix+#01),e
	ld (ix+#02),d
	add ix,bc
	dec a
	jr nz,l738e
	dec a
	ld (l77be),a
	ld (l77ba),a
	ret
.l73c8
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#09
.l73ea
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#12
.l740c
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#24
;
.play_music	; l742e
;
	ld a,(l77ba)
	ld hl,l77bb
	or (hl)
	ret z
	call l7977
	ld a,(l77ba)
	and a
	jr z,l7490
.l7440 equ $ + 1
	ld a,#00
	ld (l748c),a
.l7445 equ $ + 1
	ld a,#01
	ld hl,l77be
	add (hl)
	ld (hl),a
	jr nc,l7464
	ld b,#00
	ld ix,l73c8
	call l7633
	ld ix,l73ea
	call l7633
	ld ix,l740c
	call l7633
.l7464
	ld ix,l73c8
	call l76c4
	ld (l77bf),hl
	ld (l77c7),a
	ld ix,l73ea
	call l76c4
	ld (l77c1),hl
	ld (l77c8),a
	ld ix,l740c
	call l76c4
	ld (l77c3),hl
	ld (l77c9),a
.l748c equ $ + 1
	ld a,#00
	ld (l77c5),a
.l7490
	ld a,(l77ba)
	and a
	jr nz,l74a6
	ld (l77c7),a
	ld (l77c8),a
	ld (l77c9),a
	ld a,#3f
	ld (l77c6),a
	jr l74ce
.l74a6
	ld a,(l77bc)
	and #0f
	xor #0f
	jr z,l74ce
	ld b,a
	ld a,(l77c7)
	sub b
	jr nc,l74b7
	xor a
.l74b7
	ld (l77c7),a
	ld a,(l77c8)
	sub b
	jr nc,l74c1
	xor a
.l74c1
	ld (l77c8),a
	ld a,(l77c9)
	sub b
	jr nc,l74cb
	xor a
.l74cb
	ld (l77c9),a
.l74ce
	ld a,(l77bb)
	and a
	jr z,l74f6
	ld hl,(l77cc)
	ld (l77bf),hl
	ld a,(l7b45)
.l74dd
	ld b,a
	bit 3,a
	jr nz,l74e8
	ld a,(l77d2)
	ld (l77c5),a
.l74e8
	ld hl,l77c6
	ld a,(hl)
	or #09
	and b
	ld (hl),a
	ld a,(l77d4)
	ld (l77c7),a
.l74f6
	ld hl,l77c9
	ld d,#0a
.l74fb
	ld e,(hl)
	ld b,#f4
	out (c),d
	ld bc,#f600
	out (c),c
	ld a,#c0
	out (c),a
	out (c),c
	ld b,#f4
	out (c),e
	ld b,#f6
	add a
	out (c),a
	out (c),c
	dec hl
	dec d
	jp p,l74fb
	ret
.l751c
	ld de,#0a00
.l751f
	call l7529
	dec d
	jp p,l751f
	ld de,#073f
.l7529
	ld b,#f4
	out (c),d
	ld bc,#f600
	out (c),c
	ld a,#c0
	out (c),a
	out (c),c
	ld b,#f4
	out (c),e
	ld b,#f6
	add a
	out (c),a
	out (c),c
	ret
;
.stop_music
.l7544
;
	xor a
	ld (l77ba),a
	call l7556
	xor a
	ld (l77c7),a
	ld (l77c8),a
	ld (l77c9),a
	ret
.l7556
	xor a
	ld (l77bb),a
	jp l751c
	db #c2
	db #b6
	db #af
	db #00
	db #83
	db #00
	db #00
	db #1a
	db #9c
	db #00
	db #59
	db #43
	db #6b
	db #af
	db #0f
	db #00
	db #bb
	db #c0
	db #8b
	db #00
	db #01
	ld a,(de)
	inc de
	ld (l7445),a
	jp l7640
	pop hl
	jp l7544
	ld c,(ix+#05)
	ld b,(ix+#06)
	ld l,(ix+#03)
	ld h,(ix+#04)
	add hl,bc
	inc bc
	inc bc
	ld a,(hl)
	inc hl
	ld d,(hl)
	ld e,a
	or d
	jr nz,l75a0
	ld l,(ix+#03)
	ld h,(ix+#04)
	ld bc,#0002
	ld e,(hl)
	inc hl
	ld d,(hl)
.l75a0
	ld (ix+#05),c
	ld (ix+#06),b
	ld b,#00
	jp l7640
	ld a,(ix+#21)
	ld c,a
	and #07
	ld hl,l7785
	xor (hl)
	and c
	xor (hl)
	ld (hl),a
	ld a,#01
	ld (ix+#1e),a
	jp l7640
	ld a,(ix+#21)
	ld c,a
	and #38
	ld hl,l7785
	xor (hl)
	and c
	xor (hl)
	ld (hl),a
	xor a
	ld (ix+#1e),a
	jp l7640
	ld hl,l7785
	ld a,(ix+#21)
	cpl
	and (hl)
	ld (hl),a
	ld a,#01
	ld (ix+#1e),a
	jr l7640
	ld a,(de)
	inc de
	ld (ix+#07),b
	ld (ix+#08),b
	ld (ix+#0d),a
	set 2,(ix+#00)
	ld a,(de)
	ld (ix+#0e),a
	inc de
	jr l7640
	ld a,(de)
	inc de
	ld (ix+#20),a
	jr l7640
	ld a,(de)
	ld (ix+#1b),a
	inc de
	ld a,(de)
	ld (ix+#1a),a
	ld (ix+#1c),a
	inc de
	ld (ix+#1d),#40
	jr l7640
	ld (ix+#1d),b
	jr l7640
	set 1,(ix+#00)
	jr l7640
	ld (ix+#13),b
	res 5,(ix+#00)
	jr l766f
	ld (ix+#1f),#ff
	jr l7640
	ld (ix+#1f),b
	jr l7640
.l7633
	dec (ix+#10)
	ret nz
	ld (ix+#00),b
	ld e,(ix+#01)
	ld d,(ix+#02)
.l7640
	ld a,(de)
	inc de
	and a
	jp m,l7693
	ld (ix+#12),a
	bit 0,(ix+#1e)
	jr z,l7652
	ld (l7440),a
.l7652
	ld l,(ix+#14)
	ld (ix+#16),l
	ld h,(ix+#15)
	ld (ix+#17),h
	ld a,(hl)
	ld (ix+#18),a
	ld (ix+#13),a
	ld a,(ix+#0f)
	ld (ix+#19),a
	set 5,(ix+#00)
.l766f
	ld a,(ix+#11)
	ld (ix+#10),a
	ld (ix+#02),d
	ld (ix+#01),e
	ld a,(ix+#1f)
	and a
	jr z,l7692
	ld a,(l77bb)
	and a
	jr z,l768e
	ld a,(l7b45)
	bit 3,a
	jr z,l7692
.l768e
	ld (ix+#1f),#ff
.l7692
	ret
.l7693
	cp #c0
	jr c,l76bc
	add #20
	jr c,l76b5
	add #10
	ld hl,l786a
	add a
	ld c,a
	add hl,bc
	ld a,(hl)
	inc hl
	ld h,(hl)
	ld l,a
	ld (ix+#14),l
	ld (ix+#15),h
	dec hl
	ld a,(hl)
	ld (ix+#0f),a
	jp l7640
.l76b5
	inc a
	ld (ix+#11),a
	jp l7640
.l76bc
	ld hl,l74dd
	ld c,a
	add hl,bc
	ld c,(hl)
	add hl,bc
	jp (hl)
.l76c4
	ld c,(ix+#00)
	bit 5,c
	jr z,l76f6
	ld a,(ix+#19)
	sub #01
	ld (ix+#19),a
	jr nc,l76f0
	ld a,(ix+#0f)
	ld (ix+#19),a
	ld l,(ix+#16)
	ld h,(ix+#17)
	inc hl
	ld a,(hl)
	and a
	jp m,l76f0
	ld (ix+#16),l
	ld (ix+#17),h
	ld (ix+#18),a
.l76f0
	ld a,(ix+#18)
	ld (ix+#13),a
.l76f6
	ld a,(ix+#12)
	add (ix+#20)
	ld hl,l77c6
	ld d,#00
	add a
	ld e,a
	add hl,de
	ld e,(hl)
	inc hl
	ld d,(hl)
	ld l,(ix+#1d)
	bit 6,l
	jr z,l7756
	ld h,a
	ld b,(ix+#1a)
	sla b
	bit 7,l
	ld a,(ix+#1c)
	jr z,l771f
	bit 0,c
	jr nz,l773d
.l771f
	bit 5,l
	jr nz,l772f
	sub (ix+#1b)
	jr nc,l773a
	set 5,(ix+#1d)
	sub a
	jr l773a
.l772f
	add (ix+#1b)
	cp b
	jr c,l773a
	res 5,(ix+#1d)
	ld a,b
.l773a
	ld (ix+#1c),a
.l773d
	ex de,hl
	srl b
	sub b
	ld e,a
	ld a,d
	ld d,#00
	jr nc,l7748
	dec d
.l7748
	add #a0
	jr c,l7754
.l774c
	sla e
	rl d
	add #18
	jr nc,l774c
.l7754
	add hl,de
	ex de,hl
.l7756
	ld a,c
	xor #01
	ld (ix+#00),a
	bit 2,c
	jr z,l7781
	ld b,(ix+#0e)
	djnz l777e
	ld c,(ix+#0d)
	bit 7,c
	jr z,l776d
	dec b
.l776d
	ld l,(ix+#07)
	ld h,(ix+#08)
	add hl,bc
	ld (ix+#07),l
	ld (ix+#08),h
	add hl,de
	ex de,hl
	jr l7781
.l777e
	ld (ix+#0e),b
.l7781
	cpl
	and #03
.l7785 equ $ + 1
	ld a,#38
	jr nz,l7792
	ld a,(l7440)
	xor #08
	ld (l748c),a
	ld a,#07
.l7792
	ld hl,l77c6
	xor (hl)
	and (ix+#21)
	xor (hl)
	ld (hl),a
	ld a,(ix+#1f)
	and a
	jp p,l77b5
	and #7f
	ld (ix+#1f),a
	ld a,(ix+#21)
	and #38
	xor #ff
	and (hl)
	ld (hl),a
	ld a,#41
	ld (l748c),a
.l77b5
	ex de,hl
	ld a,(ix+#13)
	ret
.l77c1 equ $ + 7
.l77bf equ $ + 5
.l77be equ $ + 4
.l77bd equ $ + 3
.l77bc equ $ + 2
.l77bb equ $ + 1
.l77ba
.music_end
	db #00,#00,#0f,#00,#00,#00,#00,#00
.l77c9 equ $ + 7
.l77c8 equ $ + 6
.l77c7 equ $ + 5
.l77c6 equ $ + 4
.l77c5 equ $ + 3
.l77c3 equ $ + 1
	db #00,#00,#00,#00,#3f,#0f,#0f,#0f
.l77cd equ $ + 3
.l77cc equ $ + 2
	db #00,#00,#00,#00,#00,#00,#00,#00
.l77d4 equ $ + 2
.l77d2
	db #00,#3f,#00,#00,#00,#00
	dw #0470,#042c,#03f0,#03be
	dw #0384,#0358,#0320,#02f6
	dw #02ca,#02a2,#027c,#0258
	dw #0238,#0216,#01f8,#01df
	dw #01c2,#01ac,#0190,#017b
	dw #0165,#0151,#013e,#012c
	dw #011c,#010b,#00fc,#00ef
	dw #00e1,#00d6,#00c8,#00bd
	dw #00b2,#00a8,#009f,#0096
	dw #008e,#0085,#007e,#0077
	dw #0070,#006b,#0064,#005e
	dw #0059,#0054,#004f,#004b
	dw #0047,#0042,#003f,#003b
	dw #0038,#0035,#0032,#002f
	dw #002c,#002a,#0027,#0025
	dw #0023,#0021,#001f,#001d
	dw #001c,#001a,#0019,#0017
	dw #0016,#0015,#0013,#0012
	dw #0011
.l786a
	dw l7889,l7890,l7897,l78a9
	dw l78b8,&0000,l78c0,&0000
	dw l78d4,l78e5,l78f6,l7906
	dw l7917,&0000,l791a
.l7889 equ $ + 1
	db #01,#0d,#0c,#0a,#03,#01,#87,#01
.l7897 equ $ + 7
.l7890
	db #0d,#0b,#07,#03,#01,#87,#01,#0f
	db #0f,#0d,#0b,#0d,#0c,#0a,#09,#0b
	db #0a,#08,#07,#09,#08,#06,#05,#87
.l78a9 equ $ + 1
	db #01,#0d,#0c,#0b,#0a,#09,#08,#07
	db #06,#05,#04,#03,#02,#01,#87,#01
.l78b8
	db #0f,#0e,#0d,#0c,#0b,#0a,#87,#01
.l78c0
	db #0d,#0c,#0b,#0a,#09,#01,#08,#01
	db #07,#01,#06,#01,#05,#01,#04,#01
.l78d4 equ $ + 4
	db #02,#01,#87,#05,#0f,#0e,#0d,#0c
	db #0b,#0a,#09,#08,#07,#06,#05,#04
.l78e5 equ $ + 5
	db #03,#02,#01,#87,#08,#0f,#0e,#0d
	db #0c,#0b,#0a,#09,#08,#07,#06,#05
.l78f6 equ $ + 6
	db #04,#03,#02,#01,#87,#04,#0e,#0d
	db #0c,#0b,#0a,#09,#08,#07,#06,#05
.l7906 equ $ + 6
	db #04,#03,#02,#01,#87,#04,#0f,#0e
	db #0d,#0c,#0b,#0a,#09,#08,#07,#06
.l7917 equ $ + 7
	db #05,#04,#03,#02,#01,#87,#03,#0c
	db #87
.l791a equ $ + 1
	db #01,#0e,#87
;
; sound effects
;
	ld hl,l77bb
	ld (hl),#00
	ld hl,l7a30
	add a
	add l
	ld l,a
	jr nc,l792a
	inc h
.l792a
	ld e,(hl)
	inc hl
	ld d,(hl)
	ld b,#0e
	ld hl,l7b3f
.l7932
	ld a,(de)
	ld (hl),a
	inc hl
	inc de
	djnz l7932
	ld a,(l7b40)
	ld (l7b4d),a
	ld hl,(l7b41)
	ld (l77cc),hl
	ld a,(l7b45)
	bit 3,a
	jr nz,l794f
	ld a,l
	ld (l77d2),a
.l794f
	ld a,(l7b4a)
	ld (l7b4e),a
	ld a,(l7b4c)
	ld (l7b53),a
	ld a,(l7b49)
	ld hl,l7b00
	add a
	ld c,a
	add hl,bc
	ld a,(hl)
	inc hl
	ld h,(hl)
	ld l,a
	ld (l7b4f),hl
	ld (l7b51),hl
	ld a,(hl)
	ld (l77d4),a
	ld hl,l77bb
	inc (hl)
	ret
.l7977
	call l7b7e
	ld a,(l77bb)
	ret z
	ld a,(l7b3f)
	and a
	jr nz,l798e
	ld a,(l7b4b)
	and a
	jr nz,l798e
	ld (l77bb),a
	ret
.l798e
	dec a
	ld (l7b3f),a
	ld a,(l7b4d)
	and a
	jr nz,l79c6
	ld a,(l7b4b)
	and a
	jr nz,l79a4
	ld a,(l7b48)
	and a
	jr z,l7a08
.l79a4
	dec a
	ld (l7b48),a
	ld a,(l7b40)
	ld (l7b4d),a
	ld a,(l7b46)
	and a
	jr z,l79b7
	ld a,(l7b99)
.l79b7
	ld b,a
	ld a,(l7b41)
	add b
	ld (l77cc),a
	ld a,(l7b42)
	add b
	ld (l77cd),a
.l79c6
	ld hl,l7b4d
	dec (hl)
	ld hl,l7b4c
	ld a,(hl)
	and a
	jr z,l79d8
	ld hl,l7b53
	dec (hl)
	jr nz,l79fb
	ld (hl),a
.l79d8
	ld a,(l7b47)
	and a
	jr z,l79fb
	jp p,l79ee
	ld hl,(l77cc)
	ld de,(l7b43)
	add hl,de
	ld (l77cc),hl
	jr l79fb
.l79ee
	ld hl,(l77cc)
	ld de,(l7b43)
	and a
	sbc hl,de
	ld (l77cc),hl
.l79fb
	ld a,(l7b45)
	bit 3,a
	jr nz,l7a08
	ld a,(l77cc)
	ld (l77d2),a
.l7a08
	ld a,(l7b4e)
	dec a
	ld (l7b4e),a
	jr nz,l7a2f
	ld a,(l7b4a)
	ld (l7b4e),a
	ld hl,(l7b51)
	ld a,(hl)
	inc hl
	and a
	jp p,l7a29
	cp #80
	jr nz,l7a2f
	ld hl,(l7b4f)
	ld a,(hl)
	inc hl
.l7a29
	ld (l7b51),hl
	ld (l77d4),a
.l7a2f
	ret
.l7a30
	dw l7a4a,l7a58,l7a66,l7a74
	dw l7a82,l7a90,l7a9e,l7aac
	dw l7aba,l7ac8,l7ad6,l7ae4
	dw l7af2
.l7a4a
	db #ff,#00,#03,#00,#00,#00,#f6,#00
	db #00,#ff,#04,#01,#ff,#00
.l7a58
	db #ff,#00,#07,#00,#00,#00,#f6,#00
	db #00,#ff,#05,#01,#ff,#00
.l7a66
	db #14,#0a,#1f,#00,#02,#00,#f6,#00
	db #01,#63,#08,#02,#00,#00
.l7a74
	db #14,#ff,#0a,#00,#03,#00,#f6,#00
	db #ff,#0a,#08,#02,#00,#00
.l7a82
	db #1e,#05,#70,#00,#10,#00,#fe,#00
	db #01,#63,#08,#02,#00,#00
.l7a90
	db #14,#ff,#0a,#00,#08,#00,#fe,#00
	db #ff,#0a,#08,#02,#00,#00
.l7a9e
	db #32,#03,#b0,#01,#05,#00,#fe,#00
	db #01,#63,#07,#04,#00,#00
.l7aac
	db #14,#04,#00,#00,#03,#00,#f7,#01
	db #ff,#63,#00,#01,#00,#00
.l7aba
	db #fa,#09,#08,#04,#68,#00,#f6,#01
	db #01,#63,#00,#0f,#00,#00
.l7ac8
	db #15,#07,#e0,#00,#0e,#00,#fe,#00
	db #01,#03,#08,#03,#00,#00
.l7ad6
	db #07,#ff,#e0,#00,#0e,#00,#fe,#00
	db #01,#03,#08,#01,#00,#00
.l7ae4
	db #0f,#ff,#30,#00,#02,#04,#fe,#ff
	db #01,#63,#08,#02,#00,#00
.l7af2
	db #c8,#20,#00,#00,#01,#00,#f7,#00
	db #ff,#05,#00,#0c,#00,#00
.l7b00
	dw l7b12,&0000,&0000,&0000
	dw l7b22,l7b27,&0000,l7b2d
	dw l7b30
.l7b12
	db #0f,#0e,#0d,#0c,#0b,#0a,#09,#08
	db #07,#06,#05,#04,#03,#02,#01,#ff
.l7b22
	db #01,#05,#09,#0d,#80
.l7b27
	db #01,#04,#07
	db #09,#0c,#80
.l7b2d
	db #0f,#0f,#0e
.l7b30
	db #0e,#0d,#0c,#0b,#0a,#09,#08,#07
	db #06,#05,#04,#03,#02,#01,#ff
.l7b3f
	db #00
.l7b40
	db #00
.l7b41
	db #00
.l7b49 equ $ + 7
.l7b48 equ $ + 6
.l7b47 equ $ + 5
.l7b46 equ $ + 4
.l7b45 equ $ + 3
.l7b43 equ $ + 1
.l7b42
	db #00,#00,#00,#00,#00,#00,#00,#00
.l7b51 equ $ + 7
.l7b4f equ $ + 5
.l7b4e equ $ + 4
.l7b4d equ $ + 3
.l7b4c equ $ + 2
.l7b4b equ $ + 1
.l7b4a
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00
.l7b53
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00
.l7b7e
	ld a,(l7b99)
	and #48
	adc #38
	sla a
	sla a
	ld hl,l7b9c
	rl (hl)
	dec hl
	rl (hl)
	dec hl
	rl (hl)
	dec hl
	rl (hl)
	ld a,(hl)
	ret
.l7b9c equ $ + 3
.l7b99
	db #ff,#80,#1b,#34
.l7b9d
	db #30
	dw l7c22,l7bc0,l7c32
	db #1e
	dw l7df0,l7dee,l7df2
	db #4a
	dw l7ebc,l7eba,l7ebe
	db #24
	dw l7f03,l7f01,l7f05
	db #2c
	dw l7f28,l7f26,l7f2a
.l7bc0
	dw l7c40,l7c40,l7c40,l7c40
	dw l7c40,l7c40,l7c40,l7c40
	dw l7c40,l7c40,l7c40,l7c40
	dw l7c40,l7c40,l7c40,l7c40
	dw l7c61,l7c61,l7c6f,l7c6f
	dw l7ca3,l7ca3,l7ca3,l7ca3
	dw l7c89,l7c89,l7c96,l7c96
	dw l7ca3,l7ca3,l7ca3,l7ca3
	dw l7c61,l7c61,l7c6f,l7c6f
	dw l7c96,l7c96,l7ca3,l7ca3
	dw l7c61,l7c61,l7c6f,l7c6f
	dw l7c7c,l7c7c,l7c6f,l7c6f
	dw #0000
.l7c22
	dw l7cb0,l7cb0,l7d75,l7ce2
	dw l7cf4,l7cf4,l7d19,#0000
.l7c32
	dw l7d26,l7d26,l7d76,l7d8c
	dw l7d9e,l7de1,#0000
.l7c40
	db #8a,#88,#01,#01,#91,#d2,#e0,#0c
	db #e1,#0c,#e0,#18,#e1,#8c,#84,#14
	db #01,#2b,#8a,#13,#e0,#09,#09,#e1
	db #15,#8c,#84,#14,#01,#29,#8a,#17
	db #87
.l7c61
	db #90,#e2,#0c,#e0,#0c,#e1,#8c,#84
	db #14,#01,#2b,#8a,#13,#87
.l7c6f
	db #e2,#0e,#e0,#0e,#e1,#8c,#84,#14
	db #01,#2b,#8a,#15,#87
.l7c7c
	db #e2,#10,#e0,#10,#e1,#8c,#84,#14
	db #01,#2b,#8a,#17,#87
.l7c89
	db #e2,#11,#e0,#11,#e1,#8c,#84,#14
	db #01,#2b,#8a,#18,#87
.l7c96
	db #e2,#13,#e0,#13,#e1,#8c,#84,#14
	db #01,#2b,#8a,#1a,#87
.l7ca3
	db #e2,#09,#e0,#09,#e1,#8c,#84,#14
	db #01,#2b,#8a,#10,#87
.l7cb0
	db #8a,#88,#01,#01,#da,#e1,#80,#34
	db #30,#e0,#32,#e6,#34,#e1,#34,#e3
	db #37,#e1,#35,#34,#e2,#32,#34,#e1
	db #30,#ff,#30,#e1,#80,#34,#30,#e0
	db #32,#e6,#34,#e1,#34,#e3,#37,#e1
	db #35,#34,#e2,#32,#34,#e1,#34,#ff
	db #34,#87
.l7ce2
	db #82,#d9,#e5,#24,#e9,#1d,#e5,#26
	db #e9,#1f,#ef,#28,#e3,#21,#1f,#1d
	db #1c,#87
.l7cf4
	db #d0,#e0,#90,#2b,#2b,#2b,#2b,#2b
	db #2b,#2b,#2b,#2b,#2b,#2b,#2b,#2b
	db #2b,#2b,#2b,#2d,#2d,#2d,#2d,#2d
	db #2d,#2d,#2d,#2d,#2d,#2d,#2d,#2d
	db #2d,#2d,#2d,#91,#87
.l7d19
	db #d8,#e5,#24,#e9,#29,#e5,#26,#e9
	db #2b,#ef,#28,#26,#87
.l7d26
	db #8a,#88,#01,#01,#db,#e1,#80,#37
	db #34,#e0,#35,#e6,#37,#e1,#37,#e3
	db #3b,#e1,#39,#37,#e2,#35,#37,#e7
	db #34,#d1,#90,#e0,#40,#41,#42,#ec
	db #43,#e0,#40,#41,#42,#e6,#43,#91
	db #8a,#db,#e1,#80,#37,#34,#e0,#35
	db #e6,#37,#e1,#37,#e3,#3b,#e1,#39
	db #37,#e2,#35,#37,#e7,#3c,#d1,#90
	db #e0,#40,#41,#42,#ec,#43,#e0,#40
	db #41,#42,#e6,#43,#91,#8a,#87
.l7d75
	db #81
.l7d76
	db #d9,#f3,#30,#e1,#2f,#30,#e2,#32
	db #30,#e1,#2f,#e5,#2d,#eb,#34,#e1
	db #21,#23,#24,#e7,#21,#87
.l7d8c
	db #e5,#35,#e9,#30,#e5,#37,#e9,#32
	db #ef,#39,#81,#e3,#51,#4f,#4d,#4c
	db #82,#87
.l7d9e
	db #d0,#e0,#30,#30,#30,#30,#30,#30
	db #30,#30,#30,#30,#30,#30,#30,#30
	db #30,#30,#32,#32,#32,#32,#32,#32
	db #32,#32,#32,#32,#32,#32,#32,#32
	db #32,#32,#2f,#2f,#2f,#2f,#2f,#2f
	db #2f,#2f,#2f,#2f,#2f,#2f,#2f,#2f
	db #2f,#2f,#30,#30,#30,#30,#30,#30
	db #30,#30,#30,#30,#30,#30,#30,#30
	db #30,#30,#87
.l7de1
	db #d9,#e5,#35,#e9,#30,#e5,#37,#e9
	db #32,#ef,#39,#37,#87
.l7dee
	dw l7df4
.l7df0
	dw l7e3b
.l7df2
	dw l7e9b
.l7df4
	db #8a,#88,#01,#01,#e7,#de,#84,#fe
	db #08,#1d,#84,#fe,#08,#1d,#84,#fe
	db #08,#1d,#84,#fe,#08,#1d,#94,#30
	db #8b,#d1,#e1,#27,#e0,#27,#27,#e1
	db #27,#e0,#27,#27,#27,#27,#27,#27
	db #e1,#27,#e0,#27,#27,#e1,#27,#e0
	db #27,#27,#e1,#27,#e0,#27,#27,#27
	db #27,#27,#27,#e1,#27,#e0,#27,#27
	db #8a,#d9,#88,#01,#01,#f7,#24
.l7e3b
	db #8a,#88,#01,#01,#e7,#de,#84,#fe
	db #08,#1e,#84,#fe,#08,#1e,#84,#fe
	db #08,#1e,#84,#fe,#08,#1e,#8b,#d1
	db #e1,#8d,#27,#e0,#8d,#27,#8d,#27
	db #e1,#8d,#27,#e0,#8d,#27,#8d,#27
	db #8d,#27,#8d,#27,#8d,#27,#8d,#27
	db #e1,#8d,#27,#e0,#8d,#27,#8d,#27
	db #e1,#8d,#27,#e0,#8d,#27,#8d,#27
	db #e1,#8d,#27,#e0,#8d,#27,#8d,#27
	db #8d,#27,#8d,#27,#8d,#27,#8d,#27
	db #e1,#8d,#27,#e0,#8d,#27,#8d,#27
	db #8a,#d9,#88,#01,#01,#f7,#28,#8e
.l7e9b
	db #8a,#88,#01,#01,#e7,#de,#84,#fe
	db #08,#1c,#84,#fe,#08,#1c,#dc,#84
	db #ff,#08,#2a,#84,#ff,#08,#2a,#ff
	db #80,#d9,#88,#01,#01,#f7,#2b
.l7eba
	dw l7ec2
.l7ebc
	dw l7edd
.l7ebe
	dw l7ed7,l7ee0
.l7ec2
	db #8c,#d6,#e1,#42,#41,#40,#e2,#3f
	db #3e,#3d,#e1,#3c,#e5,#3b,#e8,#3a
	db #ee,#39,#d3,#f7,#38
.l7ed7
	db #92,#0c,#88,#01,#01,#87
.l7edd
	db #88,#01,#01
.l7ee0
	db #8a,#d4,#e1,#29,#26,#24,#e2,#29
	db #2b,#2d,#94,#40,#e1,#24,#2d,#2e
	db #30,#94,#4a,#e2,#2c,#2d,#2f,#e3
	db #2b,#e4,#2c,#e5,#2e,#d8,#f7,#2a
	db #8e
.l7f01
	dw l7f07
.l7f03
	dw l7f11
.l7f05
	dw l7f1c
.l7f07
	db #8a,#88,#01,#01,#ef,#de,#84,#02
	db #08,#1d
.l7f11
	db #8a,#88,#01,#01,#ef,#de,#84,#02
	db #08,#1e,#8e
.l7f1c
	db #8a,#88,#01,#01,#ef,#de,#84,#02
	db #08,#1c
.l7f26
	dw l7f2c
.l7f28
	dw l7f63
.l7f2a
	dw l7fa6
.l7f2c
	db #8a,#88,#01,#01,#d4,#e0,#3e,#3e
	db #e1,#3e,#e0,#3e,#3e,#e1,#3e,#d2
	db #e3,#10,#e1,#14,#17,#e0,#1a,#19
	db #e1,#17,#e0,#1a,#e2,#1c,#e3,#10
	db #e5,#10,#e1,#0d,#0e,#0f,#e3,#10
	db #e1,#14,#17,#e0,#1a,#19,#e1,#17
	db #e0,#1a,#e2,#1c,#e3,#10,#8e
.l7f63
	db #8a,#88,#01,#01,#90,#d4,#e0,#3b
	db #3b,#e1,#3b,#e0,#3b,#3b,#e1,#3b
	db #81,#d2,#e3,#10,#e1,#14,#17,#e0
	db #1a,#19,#e1,#17,#e0,#1a,#e2,#1c
	db #e3,#10,#e3,#10,#82,#d4,#e0,#3b
	db #3b,#e1,#3b,#e0,#3b,#3b,#e1,#3b
	db #81,#d2,#e3,#10,#e1,#14,#17,#e0
	db #1a,#19,#e1,#17,#e0,#1a,#e2,#1c
	db #e3,#10,#8e
.l7fa6
	db #8a,#88,#01,#01,#d4,#e0,#38,#38
	db #e1,#38,#e0,#38,#38,#e1,#38,#8b
	db #d1,#e0,#3f,#3f,#3f,#3f,#e1,#3f
	db #d0,#8d,#27,#d1,#e0,#3f,#3f,#e1
	db #3f,#e0,#d0,#8d,#27,#e2,#8d,#27
	db #d1,#e3,#3f,#3f,#d4,#90,#8a,#e0
	db #3e,#3e,#e1,#3e,#e0,#3e,#3e,#e1
	db #3e,#8b,#d1,#e0,#3f,#3f,#3f,#3f
	db #e1,#3f,#d0,#8d,#27,#d1,#e0,#3f
	db #3f,#e1,#3f,#e0,#d0,#8d,#27,#e2
	db #8d,#27,#d1,#e0,#3f,#e2,#8d,#3f
	db #8e

.game_name
	db "Mr. Heli",0
.game_year
	db "1989",0
.game_publisher
	db "Firebird",0
.music_author
	db "",0
.music_comment
	db "",0
	
	read "music_end_v1_0.asm"
